package com.hmy.equipment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.HmyBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author yyh
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class HmyPigLive extends HmyBaseEntity {

  private long pigLiveId;
  private long pigCode;
  private long pigLivedNum;
  private long phouseType;
  private String phouseCode;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date pigBreedTime;
  private String pigFatherCode;
  private long prenancyDays;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date pigLiveDatetime;
  private String pigLiveTime;
  private long pigHealthyNum;
  private long pigWeakNum;
  private long pigMalfmNum;
  private long pigDeadNum;
  private long pigLiveType;
  private long pigLiveFemaleAliveNum;
  private String pigLiveManager;



}
